package com.ftar.urgent.constant

/**
 * @author: wei.jin
 * @date: 2023/7/3
 * @email: wei.jin@fanttec.com
 * @description：
 */
object CameraConfig {

    /**
     * 每秒检测帧数
     */
    const val FRAME_DETECT_TIMES_PER_SECONDS = 15

    /**
     * 相机FPS
     */
    const val CAMERA_FPS = 10

    /**
     * 相机放大距离
     */
    const val ZOOM_IN = 2.6f

    /**
     * 焦距
     * Notice: 3.4 for double screen 5.7f * 2.6
     *         6.0f 旧眼镜
     */
    const val FOCUS_DISTANCE = 4.2f //6.0f

    /**
     * 缓冲最大帧数
     */
    const val FRAME_BUFFER_MAX = 3


    /** support size
     *  4208 * 3120
     *  3264 * 2448
     *  2560 * 1920
     *  1920 * 1088
     *  1440 * 1080
     *  1152 * 864
     *  960 * 864
     *  720 * 480
     *  640 * 480
     *  352 * 288
     *  320 * 240
     *  176 * 144
     **/
    /**
     * Camera preview with
     */
    @kotlin.jvm.JvmField
    var CAMERA_PREVIEW_WIDTH = 1920    //960

    /**
     * Camera preview height
     */
    @kotlin.jvm.JvmField
    var CAMERA_PREVIEW_HEIGHT = 1080   //864

    /**
     * Camera iFmage width
     */
    @kotlin.jvm.JvmField
    var CAMERA_IMAGE_WIDTH = 1920

    /**
     * Camera image height
     */
    @kotlin.jvm.JvmField
    var CAMERA_IMAGE_HEIGHT = 1080
}